import request from '@/utils/request'

const api_name = `/api/order/orderInfo`

export default {
    createNative(orderId)  {
        return  request({
        url:  `/api/order/weixin/createNative/${orderId}`,
        method:  'get'
        })
    },
    cancelOrder(orderId)  {
        return  request({
                url:  `/api/order/orderInfo/auth/cancelOrder/${orderId}`,
                method:  'get'
        })
    },
    queryPayStatus(orderId)  {
        return  request({
                url:  `/api/order/weixin/queryPayStatus/${orderId}`,
                method:  'get'
        })
} 
}